package com.jia.train.seat.service;

import com.jia.train.global.page.PageResponse;
import com.jia.train.seat.request.StationQueryRequest;
import com.jia.train.seat.request.StationSaveRequest;
import com.jia.train.seat.response.StationQueryResponse;
import com.jia.train.seat.response.StationSaveResponse;

import java.util.List;

public interface StationService {

    StationSaveResponse insert(StationSaveRequest request);

    PageResponse<StationQueryResponse> selectPage(StationQueryRequest request);

    List<StationQueryResponse> selectList();

    void deleteStation(Long id);

}
